package com.tms.project.tms.topic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tms.framework.aspectj.lang.annotation.Excel;
import com.tms.framework.web.domain.BaseEntity;

/**
 * 教师评分题库管理对象 tms_score_topic
 *
 * @author xyl
 * @date 2021-03-24
 */
public class ScoreTopic extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long scoreTopicId;

    /**
     * 题目
     */
    @Excel(name = "题目")
    private String topic;

    /**
     * 题目类型
     */
    @Excel(name = "题目类型")
    private Integer topicType;

    /**
     * 评分类型
     */
    @Excel(name = "评分类型")
    private Integer scoreType;

    /**
     * 显示顺序
     */
    @Excel(name = "显示顺序")
    private Integer orderNum;

    public void setScoreTopicId(Long scoreTopicId) {
        this.scoreTopicId = scoreTopicId;
    }

    public Long getScoreTopicId() {
        return scoreTopicId;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopicType(Integer topicType) {
        this.topicType = topicType;
    }

    public Integer getTopicType() {
        return topicType;
    }

    public void setScoreType(Integer scoreType) {
        this.scoreType = scoreType;
    }

    public Integer getScoreType() {
        return scoreType;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("scoreTopicId", getScoreTopicId())
                .append("topic", getTopic())
                .append("topicType", getTopicType())
                .append("scoreType", getScoreType())
                .append("orderNum", getOrderNum())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
